package com.mkk.pro
import androidx.multidex.MultiDexApplication
import com.mkk.pro.utils.ActivityLifecyclerHelper

/**
 *decs
 *auther mkk
 *time  16:15
 *date  2021/11/19  16:15
 **/
class MyApp: MultiDexApplication() {

    companion object{
        var instace:MyApp?=null
        var helper: ActivityLifecyclerHelper?=null

    }
    override fun onCreate() {
        super.onCreate()
        instace=this
        helper=ActivityLifecyclerHelper()
    }

    fun getInstance():MyApp{
        return instace!!
    }

    fun getHelper():ActivityLifecyclerHelper{
        return  helper!!
    }
}